package com.yorick.login.modal.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

@Getter
@Setter
public class LoginRequest {
    @JsonProperty("account")
    @NotNull
    private String account;
    @JsonProperty("password")
    @NotNull
    private String password;
    @JsonProperty("code")
    @NotNull
    private String code;
}
